

package com.wzl.constant;

/**
 * @author wzl
 * @date 2020-03-25 10:33 下午
 * @description 常量
 */
public interface CommonConstant {

    String APPLICATION_JSON_UTF8_VALUE = "application/json;charset=UTF-8";

    String CHECK_TOKEN_URI = "/token/check";

    String FAVICON = "/favicon.ico";

    String REFRESH_TOKEN_URI = "/token/refresh";

    String LOGIN_URI = "/certification";

    String POST = "post";

    String PUT = "put";

    String DELETE = "delete";

    String LOGIN_TYPE_JSON = "JSON";

    String LOGIN_TYPE_HTML = "HTML";

    String TOKEN_PREFIX = "Bearer ";

    String TOKEN_REDIS_KEY = "login_token_key:";

    String CAPTCHA_CODE_KEY = "captcha_code_key:";

    String TOKEN_KEY = "token_key";

    String UNKNOWN_IP = "XX XX";

    /**
     * http的get请求
     */
    String HTTP_METHOD_GET = "get";

    String EPIDEM_DATA_URL = "https://gwpre.sina.cn/interface/news/ncp/data.d.json?mod=city&citycode=CN41010000000000&callback=aCityFunction&_=1651247982248";

    String DICT_FAILED = "该字典类型下已经有字典数据";

    //8点35
    String CORN = "0 35 8 * * ?";
}
